<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a{
            color: #000;
            font-size: 14px;
            text-decoration: none;
        }
        a:hover{
            color: #fc3;
            text-decoration: underline;
        }
        div::before{
            content : '沈阳';
            color: red;
        }
        div::after{
            content : 'Java7班';
            font-weight: 900;
        }
    </style>
</head>
<body>
    <!-- 
        hover 鼠标悬停
     -->
     <a href="">新闻</a>
     <div>东软睿道</div>
</body>
</html>